.PHONY: proto
proto:
	protoc --proto_path=. --go_out=. --go-grpc_out=. proto/order/order.proto

# 生成证书
.PHONY: cert
cert:
	cfssl gencert -ca=../cert/ca.pem -ca-key=../cert/ca-key.pem -config=../cert/ca-config.json -profile=server cert/server-order-csr.json | cfssljson -bare cert/server-order
